do "...\First.do"


clear 
use "$raw\GP_contact.dta"

drop if pnr==""

g mean_services=services/n_visits
drop services 
rename mean_services services 

save "$work\gp_services.dta", replace

